home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 July / macformat52.iso / mac / Shareware Plus / Developers / YAAF v1.0 alpha 1 / (Samples) / Text Display / Code / main.cpp next >
Encoding:
C/C++ Source or Header  |  1997-04-20  |  529 b   |  24 lines

  1. /*    main.cpp
  2.  *
  3.  *        This is my starting point. This simply creates my application.
  4.  */
  5.  
  6. #include "MyApp.h"
  7.  
  8. /************************************************************************/
  9. /*                                                                        */
  10. /*    YAAF entry point                                                    */
  11. /*                                                                        */
  12. /************************************************************************/
  13.  
  14. /*    StartApplication
  15.  *
  16.  *        This starts up the application by creating it. For a multi-window
  17.  *    application, it's this simple.
  18.  */
  19.  
  20. XGAppCore *StartApplication(void)
  21. {
  22.     return new TMyApp;
  23. }
  24.